package com.wsm.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 访问黑名单
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-17 16:54:58
 * @description : 访问黑名单
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_blackip")
public class BlackipDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//黑名单id
	@TableId
	private Long id;
	//访问记录id
	private Long vid;
	//黑名单ip
	private String ip;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;
	//创建人id
	@TableField(fill = FieldFill.INSERT)
	private Long gmtCreateId;
	//修改时间
	@TableField(fill = FieldFill.UPDATE)
	private Date gmtModified;
	//修改人id
	@TableField(fill = FieldFill.UPDATE)
	private Long gmtModifiedId;
	//是否可用
	private Integer useFlag;
	//是否删除
	private Integer delFlag;

}
